//
//  NvTimelineStickerUtils.h
//  SDKDemo
//
//  Created by 施周虎 on 2018/6/30.
//  Copyright © 2018年 meishe. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "NvsTimeline.h"
#import "NvTimelineData.h"

@interface NvTimelineStickerUtils : NSObject

/*
 * 添加贴纸
 */
+ (NSString *)addSticker:(NvsTimeline *)timeline stickerInfo:(NvStickerInfoModel *)stickerInfo;

/*
 * 更新贴纸:缩放，平移，旋转
 */
+ (void)updateSticker:(NvsTimeline *)timeline stickerInfo:(NvStickerInfoModel *)stickerInfo;

/*
 * 删除贴纸
 */
+ (NvStickerInfoModel *)removeSticker:(NvsTimeline *)timeline stickerInfo:(NvStickerInfoModel *)stickerInfo;

/*
 * 根据live window上的点查找贴纸
 */
+ (NvStickerInfoModel *)getStickerByPoint:(NvsTimeline *)timeline liveWindow:(NvsLiveWindow *)liveWindow point:(CGPoint)point;

/*
 * 获取贴纸包围框
 */
+ (NSArray *)getStickerBoundingPoints:(NvsTimeline *)timeline liveWindow:(NvsLiveWindow *)liveWindow stickerInfo:(NvStickerInfoModel *)stickerInfo;

/*
 * 获取贴纸
 */
+ (NvsTimelineAnimatedSticker *)findStickerObject:(NvsTimeline *)timeline stickerInfo:(NvStickerInfoModel *)stickerInfo;

@end
